POV-Ray : Newsgroups : povray.binaries.images : Negative Glow (10K) : Negative Glow (10K) Server Time
20 Aug 2024 00:09:29 EDT (-0400)
  Negative Glow (10K)  
From: Spock
Date: 21 Sep 2000 19:37:04
Message: <39ca9ba0$1@news.povray.org>
Been fooling around with glows and ran across an interesting
property... negative colors can be used to cancel or shape the
halo.

I have included a trivial example where a negative green glow
cancels a positive one.  This action is actually color-specific so
you can selectively allow different frequencies to pass or not
as required.

Not very exciting news perhaps, but it might be useful...

-------------------------------- snip --------------------------------
sphere { < 0, 0, -2000 > 1 pigment { rgb < 1, 1, 1 > } }

camera { location < 0, 0, -10 > look_at < 0, 0, 0 > }

/* positive */
glow
{
  0.5
  glow_type 0
  color vnormalize( < 0, 1, 0 > )
  location < -1, 0, 0 >
}

/* negative */
glow
{
  0.5
  glow_type 0
  color vnormalize( < 0, -1, 0 > )
  location < 1, 0, 0 >
}
-------------------------------- snip --------------------------------


Post a reply to this message


Attachments:
Download 'glow.jpg' (10 KB)

Preview of image 'glow.jpg'
glow.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.